package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = ("com.example")) //改规则，让spring扫描到swagger那个配置文件
@MapperScan("com.example.mapper")
public class WdappletApplication {

    public static void main(String[] args) {
        SpringApplication.run(WdappletApplication.class, args);
    }

}
